package com.ljf.finance.infra.assembler;

import com.ljf.finance.vo.FinanceDatAccountReportDetailReportDataVO;
import com.ljf.finance.vo.FinanceDatAccountReportDetailVO;
import com.ljf.finance.vo.FinanceRelAccountReportDetailReportDataVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.math.BigDecimal;
import java.util.List;

/**
 * 账户报表明细  类型转换类
 *
 * @author LJF
 * @since 2024-12-08
 */
@Mapper
public interface FinanceDatAccountReportDetailAssembler {

    FinanceDatAccountReportDetailAssembler INSTANCE = Mappers.getMapper(FinanceDatAccountReportDetailAssembler.class);

    FinanceDatAccountReportDetailReportDataVO toReportDataVO(FinanceDatAccountReportDetailVO model, BigDecimal liabilities, BigDecimal profit, BigDecimal total, List<FinanceRelAccountReportDetailReportDataVO> accountList, Integer serialNo);

}
